//
//  DatePickView.h
//  SafeFoodManagerDemo
//
//  Created by bob on 2017/10/20.
//  Copyright © 2017年 bob. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^DatePickBlock)(NSDate*);

@interface DatePickView : UIView
-(instancetype)initWithFrame:(CGRect)frame andDate:(NSDate*)OrginDate andblock:(DatePickBlock)block;
@property (weak, nonatomic) IBOutlet UIView *BlackBgView;
@property (weak, nonatomic) IBOutlet UIView *ContentBgView;
@property (weak, nonatomic) IBOutlet UIDatePicker *DatePickView;
-(void)PopWithView:(UIView*)SupView;

@end
